import { path } from "../../config/path";
import request from './request';

/** 院内指导计划列表 GET /manage/get_patient_guidance_list */
export async function patient_guidance_list(body: any, options?: any) {
  return request(path + '/manage/get_patient_guidance_list', {
    method: 'GET',
    headers: {
      Authorization: localStorage.loginToken,
    },
    params: body,
    ...(options || {}),
  });
}
/** 新增/编辑 院内指导 POST /manage/add_patient_guidance */
export async function patient_guidance(body?: any, options?: any) {
  return request(path + '/manage/add_patient_guidance', {
    method: 'POST',
    headers: {
      Authorization: localStorage.loginToken,
    },
    data: body,
    ...(options || {}),
  });
}
/** 与医生绑定的患者列表（新增指导 下拉框） GET /manage/get_bind_patient_select */
export async function bind_patient_select(body: any, options?: any) {
  return request(path + '/manage/get_bind_patient_select', {
    method: 'GET',
    headers: {
      Authorization: localStorage.loginToken,
    },
    params: body,
    ...(options || {}),
  });
}
/** 院内指导详情 GET /manage/get_patient_guidance_info */
export async function patient_guidance_info(body: any, options?: any) {
  return request(path + '/manage/get_patient_guidance_info', {
    method: 'GET',
    headers: {
      Authorization: localStorage.loginToken,
    },
    params: body,
    ...(options || {}),
  });
}
/** 删除院内指导 POST /manage/delete_patient_guidance */
export async function delete_patient_guidance(body?: any, options?: any) {
  return request(path + '/manage/delete_patient_guidance', {
    method: 'POST',
    headers: {
      Authorization: localStorage.loginToken,
    },
    data: body,
    ...(options || {}),
  });
}
/** 呼叫记录列表（院内） GET /manage/get_patient_callLog_list */
export async function patient_callLog_list(body: any, options?: any) {
  return request(path + '/manage/get_patient_callLog_list', {
    method: 'GET',
    headers: {
      Authorization: localStorage.loginToken,
    },
    params: body,
    ...(options || {}),
  });
}
/** 指导录制视频列表（院内） GET /manage/patient_record_videos */
export async function patient_record_videos(body: any, options?: any) {
  return request(path + '/manage/patient_record_videos', {
    method: 'GET',
    headers: {
      Authorization: localStorage.loginToken,
    },
    params: body,
    ...(options || {}),
  });
}
/** 获取指导频道和token GET /manage/get_guidance_Token */
export async function guidance_Token(body: any, options?: any) {
  return request(path + '/manage/get_guidance_Token', {
    method: 'GET',
    headers: {
      Authorization: localStorage.loginToken,
    },
    params: body,
    ...(options || {}),
  });
}
/** 极光推送-院内指导呼叫（院内） POST /manage/patient_chat_call */
export async function patient_chat_call(body?: any, options?: any) {
  return request(path + '/manage/patient_chat_call', {
    method: 'POST',
    headers: {
      Authorization: localStorage.loginToken,
    },
    data: body,
    ...(options || {}),
  });
}
/** 新增呼叫记录（院内） POST /manage/add_patient_callLog */
export async function add_patient_callLog(body?: any, options?: any) {
  return request(path + '/manage/add_patient_callLog', {
    method: 'POST',
    headers: {
      Authorization: localStorage.loginToken,
    },
    data: body,
    ...(options || {}),
  });
}
/** 修改呼叫记录（院内） POST /manage/edit_patient_callLog */
export async function edit_patient_callLog(body?: any, options?: any) {
  return request(path + '/manage/edit_patient_callLog', {
    method: 'POST',
    headers: {
      Authorization: localStorage.loginToken,
    },
    data: body,
    ...(options || {}),
  });
}
/** 结束指导 POST /manage/submit_patient_guidance */
export async function submit_patient_guidance(body?: any, options?: any) {
  return request(path + '/manage/submit_patient_guidance', {
    method: 'POST',
    headers: {
      Authorization: localStorage.loginToken,
    },
    data: body,
    ...(options || {}),
  });
}
/** 远程指导列表 GET /manage/get_platform_guidance_list */
export async function platform_guidance_list(body: any, options?: any) {
  return request(path + '/manage/get_platform_guidance_list', {
    method: 'GET',
    headers: {
      Authorization: localStorage.loginToken,
    },
    params: body,
    ...(options || {}),
  });
}
/** 远程预约列表 GET /manage/get_reservation_guidance_list */
export async function reservation_guidance_list(body: any, options?: any) {
  return request(path + '/manage/get_reservation_guidance_list', {
    method: 'GET',
    headers: {
      Authorization: localStorage.loginToken,
    },
    params: body,
    ...(options || {}),
  });
}
/** 设置指导医生 POST /manage/set_platform_guidance_user */
export async function set_platform_guidance_user(body?: any, options?: any) {
  return request(path + '/manage/set_platform_guidance_user', {
    method: 'POST',
    headers: {
      Authorization: localStorage.loginToken,
    },
    data: body,
    ...(options || {}),
  });
}
/** 远程指导详情 GET /manage/get_platform_guidance_info */
export async function get_platform_guidance_info(body: any, options?: any) {
  return request(path + '/manage/get_platform_guidance_info', {
    method: 'GET',
    headers: {
      Authorization: localStorage.loginToken,
    },
    params: body,
    ...(options || {}),
  });
}
/** 获取指导患者列表 GET /manage/platform_guidance_patients */
export async function platform_guidance_patients(body: any, options?: any) {
  return request(path + '/manage/platform_guidance_patients', {
    method: 'GET',
    headers: {
      Authorization: localStorage.loginToken,
    },
    params: body,
    ...(options || {}),
  });
}
/** 删除指导预约 POST /manage/delete_platform_guidance */
export async function delete_platform_guidance(body?: any, options?: any) {
  return request(path + '/manage/delete_platform_guidance', {
    method: 'POST',
    headers: {
      Authorization: localStorage.loginToken,
    },
    data: body,
    ...(options || {}),
  });
}
/** 我的远程指导列表 GET /manage/my_platform_guidance_list */
export async function my_platform_guidance_list(body: any, options?: any) {
  return request(path + '/manage/my_platform_guidance_list', {
    method: 'GET',
    headers: {
      Authorization: localStorage.loginToken,
    },
    params: body,
    ...(options || {}),
  });
}
/** 远程指导呼叫记录列表 GET /manage/platform_chatLog_list */
export async function platform_chatLog_list(body: any, options?: any) {
  return request(path + '/manage/platform_chatLog_list', {
    method: 'GET',
    headers: {
      Authorization: localStorage.loginToken,
    },
    params: body,
    ...(options || {}),
  });
}
/** 极光推送-院外指导呼叫 POST /manage/platform_chat_call */
export async function platform_chat_call(body?: any, options?: any) {
  return request(path + '/manage/platform_chat_call', {
    method: 'POST',
    headers: {
      Authorization: localStorage.loginToken,
    },
    data: body,
    ...(options || {}),
  });
}
/** 新增呼叫记录（院外） POST /manage/add_platform_chatLog */
export async function add_platform_chatLog(body?: any, options?: any) {
  return request(path + '/manage/add_platform_chatLog', {
    method: 'POST',
    headers: {
      Authorization: localStorage.loginToken,
    },
    data: body,
    ...(options || {}),
  });
}
/** 修改呼叫记录（院外） POST /manage/edit_platform_chatLog */
export async function edit_platform_chatLog(body?: any, options?: any) {
  return request(path + '/manage/edit_platform_chatLog', {
    method: 'POST',
    headers: {
      Authorization: localStorage.loginToken,
    },
    data: body,
    ...(options || {}),
  });
}
/** 结束指导（院外） POST /manage/submit_platform_guidance */
export async function submit_platform_guidance(body?: any, options?: any) {
  return request(path + '/manage/submit_platform_guidance', {
    method: 'POST',
    headers: {
      Authorization: localStorage.loginToken,
    },
    data: body,
    ...(options || {}),
  });
}
/** 指导录制视频列表（院外） GET /manage/platform_guidance_record_videos */
export async function platform_guidance_record_videos(body: any, options?: any) {
  return request(path + '/manage/platform_guidance_record_videos', {
    method: 'GET',
    headers: {
      Authorization: localStorage.loginToken,
    },
    params: body,
    ...(options || {}),
  });
}
